package com.gxwz.document.business.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;


@SuppressWarnings({ "unused", "serial" })
@Entity
@Table(name="document")
public class Document implements Serializable{
	
	@Id
	@Column(name = "id")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private int id;
	
	@Column(name = "docId")
	private int docId;
	
	@Column(name = "docName")
	private String docName;
	
	@Column(name = "docType")
	private String docType;
	
	@Column(name = "docDates")
	private Date docDates;
	
	@Column(name = "docSize")
	private Double docSize;
	
	@Column(name = "docPath")
	private String docPath;



	public void setId(int id) {
		this.id = id;
	}
	public int getId() {
		return id;
	}

	public int getDocId() {
		return docId;
	}
	public void setDocId(int docId) {
		this.docId = docId;
	}
	
	public String getDocName() {
		return docName;
	}

	public void setDocName(String docName) {
		this.docName = docName;
	}

	public String getDocType() {
		return docType;
	}

	public void setDocType(String docType) {
		this.docType = docType;
	}



	public Date getDocDates() {
		return docDates;
	}

	public void setDocDates(Date docDates) {
		this.docDates = docDates;
	}
	
	public Double getDocSize() {
		return docSize;
	}

	public void setDocSize(Double docSize) {
		this.docSize = docSize;
	}
	
	public String getDocPath() {
		return docPath;
	}

	public void setDocPath(String docPath) {
		this.docPath = docPath;
	}

}
